package com.szhuima.imessage.channel;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * * @Author: Martin(微信：martin-jobs)
 * * @Date    2025/2/27 23:07
 * * @Description
 * * @Github <a href="https://github.com/mardingJobs">Github链接</a>
 **/
public abstract class AbstractServer implements Server {

    private static final Logger logger = LoggerFactory.getLogger(AbstractServer.class);

    @Override
    public void start() {
        if (logger.isDebugEnabled()) {
            logger.debug("imessage-channel server starting...");
        }
        doOpen();
    }

    public abstract void doOpen();


}
